#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

int main()
{
	char str1[20] = "abcdef";
	char str2[20] = "abcdf";
	/*strncpy(str2, str1, 5);*/
	/*strncat(str1, str2, 7);*/
	if (strncmp(str1, str2, 5) == 0)
	{
		printf(" == ");
	}
	else if (strncmp(str1, str2, 5) > 0)
	{
		printf(" > ");
	}
	else
	{
		printf(" < ");
	}
	return 0;
}